module.exports = {
    devServer: {
        //启动以后自动打开浏览器
        open: true,
        proxy: {
            '/api': {
                target:'http://127.0.0.1:9999/',
                changeOrigin: true,//允许跨越
                pathRewrite: {
                    '^/api': ''
                }
            },
        }
    }
}